﻿<Window x:Class="Driver.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Skugo" Height="600" Width="800" xmlns:my="clr-namespace:AvalonDock;assembly=AvalonDock" Closing="Window_Closing" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit">

    <Grid Name="Area">
        <Grid Name="ConnectDialog" Background="#FF35516F">
            <Grid Height="230" HorizontalAlignment="Center" VerticalAlignment="Center" Width="340">
                <Border BorderThickness="1" BorderBrush="#FF2F2F3E" CornerRadius="4" Background="#FFCDD5E5">
                    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
                        <Button Content="Connect" Height="23" HorizontalAlignment="Left" Margin="237,36,0,0" Name="Connect" VerticalAlignment="Top" Width="75" Click="Connect_Click" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="24,37,0,0" Name="Host" VerticalAlignment="Top" Width="136" />
                        <Label Content="Host / IP:" Height="28" HorizontalAlignment="Left" Margin="24,11,0,0" Name="label1" VerticalAlignment="Top" Padding="0,5,5,5" />
                        <Label Content="Port:" Height="28" HorizontalAlignment="Left" Margin="166,11,0,0" Name="label2" VerticalAlignment="Top" Padding="0,5,5,5" OverridesDefaultStyle="False" />
                        <xctk:IntegerUpDown HorizontalAlignment="Left" Margin="166,37,0,0" Name="Port" VerticalAlignment="Top" IsEnabled="True" ShowButtonSpinner="False" Height="23" Width="65" HorizontalContentAlignment="Left" TextAlignment="Left" Minimum="0" Maximum="65535" ValueChanged="Port_ValueChanged" />
                        <StatusBar Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
                            <StatusBarItem DockPanel.Dock="Right">
                                <ProgressBar Height="16" HorizontalAlignment="Left" Name="Progress" VerticalAlignment="Stretch" Width="100" IsIndeterminate="False" IsEnabled="False" />
                            </StatusBarItem>
                            <StatusBarItem>
                                <TextBlock Name="Status">Not Connected</TextBlock>
                            </StatusBarItem>
                        </StatusBar>
                        <Button Content="Run Locally" Height="23" HorizontalAlignment="Left" Margin="237,103,0,0" Name="RunLocally" VerticalAlignment="Top" Width="75" Click="RunLocally_Click" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="24,103,0,0" Name="ExecutableFile" VerticalAlignment="Top" Width="188" TextChanged="ExecutableFile_TextChanged" />
                        <Button Content="..." Height="23" HorizontalAlignment="Left" Margin="214,103,0,0" Name="BrowseForExeFile" VerticalAlignment="Top" Width="17" Click="BrowseForExeFile_Click" />
                        <Label Content="Executable File:" Height="28" HorizontalAlignment="Left" Margin="24,77,0,0" Name="label3" VerticalAlignment="Top" />
                        <Label Content="Extra Arguments:" Height="28" HorizontalAlignment="Left" Margin="24,126,0,0" Name="label4" VerticalAlignment="Top" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="24,152,0,0" Name="ExtraArguments" VerticalAlignment="Top" Width="288" Text="" TextChanged="ExtraArguments_TextChanged" />
                        <CheckBox Content="Run With Debugger" Height="16" HorizontalAlignment="Left" Margin="24,181,0,0" Name="DebugMode" VerticalAlignment="Top" HorizontalContentAlignment="Left" FlowDirection="LeftToRight" />
                    </Grid>
                </Border>
            </Grid>
        </Grid>
    </Grid>
</Window>
